package com.zhys.middle.goods.common.request;

import java.io.Serializable;
import java.sql.Timestamp;

import com.zhys.web.common.utils.paramExchange.BackwardExchangeDesc;

/**
 * 
 * @ClassName: TimeRangeRequest
 * @Description: 时间段
 * @author xuxh
 * @date 2017年10月6日 下午5:02:59
 */
public class TimeRangeRequest implements Serializable {

    private static final long serialVersionUID = 2771027276532051439L;
    /**
     * 起始时间.
     */
    @BackwardExchangeDesc(type = Timestamp.class)
    private Long start;
    /**
     * 结束时间.
     */
    @BackwardExchangeDesc(type = Timestamp.class)
    private Long end;

    public Long getStart() {
        return start;
    }

    public void setStart(Long start) {
        this.start = start;
    }

    public Long getEnd() {
        return end;
    }

    public void setEnd(Long end) {
        this.end = end;
    }

    @Override
    public String toString() {
        return "TimeRangeRequest [start=" + start + ", end=" + end + "]";
    }

}
